package gnss_plugs

import (
	"dgo/goutils/gnss"
	"time"
)

/***
 * 实时星历处理类
 *  推荐使用
 */
type GnssRinexEph3xWriterAfter struct {
	GnssRinexEph3xWriterBase
}

func NewGnssRinexEph3xWriterAfter() *GnssRinexEph3xWriterAfter {
	rval := &GnssRinexEph3xWriterAfter{}
	rval.onCreate()
	rval.OnGetEphTimeFunc = func(rec *gnss.RtcmEph) time.Time {
		return rec.Time
	}
	return rval
}
